home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / bisonpcb.zip / MAKEFILE.MAK < prev    next >
Text File  |  1987-09-18  |  1KB  |  55 lines

  1. # Makefile for bison
  2.  
  3. .c.obj :
  4.      msc $*,$* /AC /DLINT_ARGS=1 /W3 /Zi ; >$*.err
  5.      type $*.err
  6.  
  7.  
  8. OBJECTS = LR0.obj allocate.obj closure.obj \
  9.     conflicts.obj derives.obj files.obj    \
  10.     getargs.obj gram.obj lalr.obj \
  11.     lex.obj main.obj nullable.obj output.obj print.obj \
  12.     reader.obj symtab.obj warshall.obj
  13.  
  14. func.h :
  15.     msc /Zg /AC *.c ; >func.h
  16.  
  17. files.obj: files.c files.h new.h gram.h
  18.  
  19. LR0.obj: LR0.c machine.h new.h gram.h state.h
  20.  
  21. allocate.obj: allocate.c func.h
  22.  
  23. closure.obj: closure.c machine.h new.h gram.h
  24.  
  25. conflicts.obj: conflicts.c machine.h new.h files.h gram.h state.h
  26.  
  27. derives.obj: derives.c new.h types.h gram.h
  28.  
  29. getargs.obj: getargs.c files.h
  30.  
  31. gram.obj: gram.c func.h
  32.  
  33. lalr.obj: lalr.c machine.h types.h state.h new.h gram.h
  34.  
  35. lex.obj: lex.c files.h symtab.h lex.h
  36.  
  37. main.obj: main.c machine.h
  38.  
  39. nullable.obj: nullable.c types.h gram.h new.h
  40.  
  41. output.obj: output.c machine.h new.h files.h gram.h state.h
  42.  
  43. print.obj: print.c machine.h new.h files.h gram.h state.h
  44.  
  45. reader.obj: reader.c files.h new.h symtab.h lex.h gram.h
  46.  
  47. symtab.obj: symtab.c new.h symtab.h gram.h
  48.  
  49. warshall.obj: warshall.c machine.h
  50.  
  51. bison.exe: $(OBJECTS)
  52.     link @files.bis
  53.  
  54.    
  55.